package com.his.registration.service.impl;

import com.his.dto.DisposalCharge;
import com.his.registration.mapper.DisposalRequestMapper;
import com.his.registration.service.DisposalRequestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service.impl
 * @Author: ZhangYing
 * @Date: 2023/7/2 15:51
 * @Description:
 */
@Service
public class DisposalRequestServiceImpl implements DisposalRequestService {
    @Autowired
    private DisposalRequestMapper disposalRequestMapper;

    @Override
    public List<DisposalCharge> getDisposalFee(int registerId) {
        return disposalRequestMapper.getDisposalFee(registerId);
    }

    @Override
    public int charge(String drugState,int id) {
        return disposalRequestMapper.charge(drugState,id);
    }
}
